<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title>demo</title>
		<link href="../../public/css/common.css" rel="stylesheet" />
	</head>

	<body style="margin:0; padding:0;" >
		
		<iframe width='100%' class="main_tpl" scrolling="no" id='rightFrame' src="" frameborder="no"></iframe>

		<script src="../../../common/components/jquery-1.10.2.min.js"></script>
		<script src="../../../common/components/ractive-legacy.js"></script>
		<script src="../../../common/js/jquery.i18n.properties.js"></script>
		<script src="../../public/js/custom.js"></script>
		<script src="../../public/js/constants.js"></script>
		<script src="../../public/js/loginCheck.js"></script>
		<script src="../../public/js/index.js"></script>
		<script type="text/javascript">
		manager.getYhxx(function(data){
			if(data){
				var jfUrl=Constants.jfUrl+data.zh;
			}
			$('#rightFrame').attr('src',jfUrl);
		});
		
			function reinitIframe() {
				var iframe = document.getElementById("rightFrame");
				try {
					var bHeight = iframe.contentWindow.document.body.scrollHeight;
					var dHeight = iframe.contentWindow.document.documentElement.scrollHeight;
					var height = Math.max(bHeight, dHeight);
					iframe.height = height;
//					console.log(height);
				} catch(ex) {}
			}
			window.setInterval("reinitIframe()", 200);
		</script>
	</body>
</html>